@import '../../resources/css/searchGoods.less';

.search-history {
  margin-top: 40rpx;
  padding: 0 24rpx;
  .title-del {
    display: flex;
    justify-content: space-between;
  }
  .title {
    font-size: 28rpx;
    color: #999999;
  }
  .del-icon {
    font-size: 34rpx;
    color: #999999;
  }
  .tag {
    margin: 26rpx 0 60rpx;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    .tag-item {
      display: inline-block;
      background: #EEEEEE;
      border-radius: 25rpx;
      line-height: 50rpx;
      margin: 0 30rpx 30rpx 0;
      padding: 5rpx 28rpx;
      font-size: 28rpx;
      color: #666666;
    }
  }
}
// 搜索结果本平台没有，去其他平台抢货
.rush-to-buy {
  .buy-tip {
    width: 710rpx;
    height: 60rpx;
    line-height: 60rpx;
    background: #FFE2E2;
    border-radius: 6rpx;
    margin: 0 auto;
    font-size: 26rpx;
    color: #FF6565;
    text-align: center;
  }
  .rush-goods-list {
    margin: 20rpx auto 0;
    width: 710rpx;
    .rush-goods-detail {
      border-radius: 8rpx;
      background: #fff;
      padding: 30rpx 25rpx 25rpx 25rpx;
      width: 100%;
      height: 248rpx;
      margin-bottom: 10rpx;
      position: relative;
      .rush-goods-pic {
        display: inline-block;
        width: 142rpx;
        height: 142rpx;
        margin-right: 29rpx;
        vertical-align: top;
      }
      .rush-goods-info {
        display: inline-block;
        .rush-goods-name {
          width: 489rpx;
          font-size: 28rpx;
          color: #333333;
          line-height: 42rpx;
          height: 84rpx;
          text-overflow: -o-ellipsis-lastline;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
        }
        .rush-goods-commission {
          font-size: 26rpx;
          color: #666666;
          line-height: 28rpx;
          margin-top: 12rpx;
        }
        & .rush-goods-price{
          margin-top: 25rpx;
          color: #FF2424;
          font-size: 40rpx;
          line-height: 40rpx;
          display: flex;
          & .price-icon{
            font-size: 28rpx;
            margin-right: 8rpx;
          }
          .price-old {
            font-size: 26rpx;
            margin-left: 12rpx;
            text-decoration: line-through;
            color: #D0D0D0;
          }
        }
        .m-t-50 {
          margin-top: 50rpx;
        }
        .under-baseline {
          align-items: baseline;
        }
        .rush-to-buy-btn {
          position: absolute;
          bottom: 25rpx;
          right: 25rpx;
          background-image: linear-gradient(-130deg, #FF4A85 0%, #FF2424 100%);
          border-radius: 10rpx;
          width: 190rpx;
          height: 70rpx;
          text-align: center;
          line-height: 70rpx;
          font-size: 28rpx;
          color: #FFFFFF;
        }
      }
    }
  }
}

.load-tips{
  font-size: 28rpx;
  color: #666;
  text-align: center;
}

// 购买弹窗组件 中的组件样式重写
& .buy-now-btn {
  height: 90rpx;
  font-size: 36rpx;
  line-height: 90rpx;
  background: -webkit-linear-gradient(left, #FF4A94, #FF2424);
  color: #fff;
  &::after {
    border: none;
  }
}
& .no-stock-class {
  background: -webkit-linear-gradient(left, #FACB32, #FFAF49);
}
.wux-input-number__selector--disabled {
  background-color: #f6d1c9!important;
}
& .wux-cell {
  padding: 20rpx 0;
  &::after {
    display: none;
  }
}
.wux-cell__text {
  color: #666;
  font-size: 32rpx;
}